package com.hfut.wxy.entity.mysql;

import com.hfut.wxy.common.parent.WxyBase;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Setter
@Getter
@Entity
@Table(name = "wxyFeedback")
@DynamicInsert
@DynamicUpdate
public class WxyFeedback extends WxyBase {
    @Column(columnDefinition = "int(1) comment '反馈类型 1功能异常 2问题建议 3其他' ")
    private Integer type;

    @Column(columnDefinition = "Varchar(255) comment'内容'")
    private String content;

    @Column(columnDefinition = "Varchar(15) comment'qq'")
    private String qq;

    @Column(columnDefinition = "Varchar(15) comment'vx'")
    private String vx;

    @Column(columnDefinition = "Varchar(13) comment'phone'")
    private String phone;
}
